Optimal. Leaf size=145 \[ \frac {b^2}{12 c^2 d^3 \left (1+c^2 x^2\right )}+\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{6 c d^3 \left (1+c^2 x^2\right )^{3/2}}+\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{3 c d^3 \sqrt {1+c^2 x^2}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1+c^2 x^2\right )^2}-\frac {b^2 \log \left (1+c^2 x^2\right )}{6 c^2 d^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.10, antiderivative size = 145, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 5, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.208, Rules used = {5798, 5788,
5787, 266, 267} \begin {gather*} \frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{3 c d^3 \sqrt {c^2 x^2+1}}+\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{6 c d^3 \left (c^2 x^2+1\right )^{3/2}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (c^2 x^2+1\right )^2}+\frac {b^2}{12 c^2 d^3 \left (c^2 x^2+1\right )}-\frac {b^2 \log \left (c^2 x^2+1\right )}{6 c^2 d^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 267
Rule 5787
Rule 5788
Rule 5798
Rubi steps
\begin {align*} \int \frac {x \left (a+b \sinh ^{-1}(c x)\right )^2}{\left (d+c^2 d x^2\right )^3} \, dx &=-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1+c^2 x^2\right )^2}+\frac {b \int \frac {a+b \sinh ^{-1}(c x)}{\left (1+c^2 x^2\right )^{5/2}} \, dx}{2 c d^3}\\ &=\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{6 c d^3 \left (1+c^2 x^2\right )^{3/2}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1+c^2 x^2\right )^2}-\frac {b^2 \int \frac {x}{\left (1+c^2 x^2\right )^2} \, dx}{6 d^3}+\frac {b \int \frac {a+b \sinh ^{-1}(c x)}{\left (1+c^2 x^2\right )^{3/2}} \, dx}{3 c d^3}\\ &=\frac {b^2}{12 c^2 d^3 \left (1+c^2 x^2\right )}+\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{6 c d^3 \left (1+c^2 x^2\right )^{3/2}}+\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{3 c d^3 \sqrt {1+c^2 x^2}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1+c^2 x^2\right )^2}-\frac {b^2 \int \frac {x}{1+c^2 x^2} \, dx}{3 d^3}\\ &=\frac {b^2}{12 c^2 d^3 \left (1+c^2 x^2\right )}+\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{6 c d^3 \left (1+c^2 x^2\right )^{3/2}}+\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{3 c d^3 \sqrt {1+c^2 x^2}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{4 c^2 d^3 \left (1+c^2 x^2\right )^2}-\frac {b^2 \log \left (1+c^2 x^2\right )}{6 c^2 d^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.13, size = 152, normalized size = 1.05 \begin {gather*} \frac {-3 a^2+b^2+b^2 c^2 x^2+6 a b c x \sqrt {1+c^2 x^2}+4 a b c^3 x^3 \sqrt {1+c^2 x^2}+2 b \left (-3 a+b c x \sqrt {1+c^2 x^2} \left (3+2 c^2 x^2\right )\right ) \sinh ^{-1}(c x)-3 b^2 \sinh ^{-1}(c x)^2-2 \left (b+b c^2 x^2\right )^2 \log \left (1+c^2 x^2\right )}{12 d^3 \left (c+c^3 x^2\right )^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(409\) vs.
\(2(131)=262\).
time = 4.23, size = 410, normalized size = 2.83
method | result | size |
derivativedivides | \(\frac {-\frac {a^{2}}{4 d^{3} \left (c^{2} x^{2}+1\right )^{2}}+\frac {2 b^{2} \arcsinh \left (c x \right )}{3 d^{3}}+\frac {b^{2} \arcsinh \left (c x \right ) \sqrt {c^{2} x^{2}+1}\, c^{3} x^{3}}{3 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right ) c^{4} x^{4}}{3 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}+\frac {b^{2} \arcsinh \left (c x \right ) \sqrt {c^{2} x^{2}+1}\, c x}{2 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {2 b^{2} \arcsinh \left (c x \right ) c^{2} x^{2}}{3 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right )^{2}}{4 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}+\frac {b^{2} c^{2} x^{2}}{12 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right )}{3 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}+\frac {b^{2}}{12 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {b^{2} \ln \left (1+\left (c x +\sqrt {c^{2} x^{2}+1}\right )^{2}\right )}{3 d^{3}}+\frac {2 a b \left (-\frac {\arcsinh \left (c x \right )}{4 \left (c^{2} x^{2}+1\right )^{2}}+\frac {c x}{12 \left (c^{2} x^{2}+1\right )^{\frac {3}{2}}}+\frac {c x}{6 \sqrt {c^{2} x^{2}+1}}\right )}{d^{3}}}{c^{2}}\) | \(410\) |
default | \(\frac {-\frac {a^{2}}{4 d^{3} \left (c^{2} x^{2}+1\right )^{2}}+\frac {2 b^{2} \arcsinh \left (c x \right )}{3 d^{3}}+\frac {b^{2} \arcsinh \left (c x \right ) \sqrt {c^{2} x^{2}+1}\, c^{3} x^{3}}{3 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right ) c^{4} x^{4}}{3 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}+\frac {b^{2} \arcsinh \left (c x \right ) \sqrt {c^{2} x^{2}+1}\, c x}{2 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {2 b^{2} \arcsinh \left (c x \right ) c^{2} x^{2}}{3 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right )^{2}}{4 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}+\frac {b^{2} c^{2} x^{2}}{12 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right )}{3 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}+\frac {b^{2}}{12 d^{3} \left (c^{4} x^{4}+2 c^{2} x^{2}+1\right )}-\frac {b^{2} \ln \left (1+\left (c x +\sqrt {c^{2} x^{2}+1}\right )^{2}\right )}{3 d^{3}}+\frac {2 a b \left (-\frac {\arcsinh \left (c x \right )}{4 \left (c^{2} x^{2}+1\right )^{2}}+\frac {c x}{12 \left (c^{2} x^{2}+1\right )^{\frac {3}{2}}}+\frac {c x}{6 \sqrt {c^{2} x^{2}+1}}\right )}{d^{3}}}{c^{2}}\) | \(410\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 273 vs.
\(2 (131) = 262\).
time = 0.46, size = 273, normalized size = 1.88 \begin {gather*} \frac {4 \, a b c^{4} x^{4} + {\left (8 \, a b + b^{2}\right )} c^{2} x^{2} - 3 \, b^{2} \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right )^{2} - 3 \, a^{2} + 4 \, a b + b^{2} - 2 \, {\left (b^{2} c^{4} x^{4} + 2 \, b^{2} c^{2} x^{2} + b^{2}\right )} \log \left (c^{2} x^{2} + 1\right ) + 2 \, {\left (3 \, a b c^{4} x^{4} + 6 \, a b c^{2} x^{2} + {\left (2 \, b^{2} c^{3} x^{3} + 3 \, b^{2} c x\right )} \sqrt {c^{2} x^{2} + 1}\right )} \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right ) + 6 \, {\left (a b c^{4} x^{4} + 2 \, a b c^{2} x^{2} + a b\right )} \log \left (-c x + \sqrt {c^{2} x^{2} + 1}\right ) + 2 \, {\left (2 \, a b c^{3} x^{3} + 3 \, a b c x\right )} \sqrt {c^{2} x^{2} + 1}}{12 \, {\left (c^{6} d^{3} x^{4} + 2 \, c^{4} d^{3} x^{2} + c^{2} d^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {a^{2} x}{c^{6} x^{6} + 3 c^{4} x^{4} + 3 c^{2} x^{2} + 1}\, dx + \int \frac {b^{2} x \operatorname {asinh}^{2}{\left (c x \right )}}{c^{6} x^{6} + 3 c^{4} x^{4} + 3 c^{2} x^{2} + 1}\, dx + \int \frac {2 a b x \operatorname {asinh}{\left (c x \right )}}{c^{6} x^{6} + 3 c^{4} x^{4} + 3 c^{2} x^{2} + 1}\, dx}{d^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x\,{\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )}^2}{{\left (d\,c^2\,x^2+d\right )}^3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________